<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
	response.setContentType("text/xml");
%>

<CoreSubjects>

<c:forEach var="CoreSubjects" items="${coreSubjects}">
<compulsory>
<course_code><c:out value="${CoreSubjects.courseCode}"/></course_code>
<course_name><c:out value="${CoreSubjects.courseName}"/></course_name>
<credits><c:out value="${CoreSubjects.credits}"/></credits>
<course_type><c:out value="${CoreSubjects.courseType}"/></course_type>
<program_course_key><c:out value="${CoreSubjects.programCourseKey}"/></program_course_key>
<minimum_credits><c:out value="${CoreSubjects.minimumCourses}"/></minimum_credits>
<maximum_credits><c:out value="${CoreSubjects.maximumCourses}"/></maximum_credits>
<course_classification><c:out value="${CoreSubjects.courseClassification}"/></course_classification>
</compulsory>

</c:forEach>
</CoreSubjects>